﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShinePipe
{
    /// <summary>
    /// 数据接收事件参数
    /// </summary>
    public class ShinePipeRecvEventArgs : EventArgs
    {
        public string Message { set; get; }
    }

    /// <summary>
    /// 数据接收事件委托
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="args"></param>
    public delegate void ShinePipeRecvEventHandler(object sender, ShinePipeRecvEventArgs args);

    /// <summary>
    /// 数据接收事件参数
    /// </summary>
    public class ShinePipeCloseEventArgs : EventArgs
    {
        public string Message { set; get; }
    }

    /// <summary>
    /// 数据接收事件委托
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="args"></param>
    public delegate void ShinePipeCloseEventHandler(object sender, ShinePipeCloseEventArgs args);

    /// <summary>
    /// 测试事件参数
    /// </summary>
    public class ShinePipeDebugEventArgs : EventArgs
    {
        public string Message { set; get; }
    }

    /// <summary>
    /// 测试事件委托
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="args"></param>
    public delegate void ShinePipeDebugEventHandler(object sender, ShinePipeDebugEventArgs args);
}
